// @ts-nocheck
import React from 'react';
import { ApplyPluginsType, dynamic } from 'C:/Users/2374967553/Desktop/实训2/four-group-warehouse/项目代码/liuexam_cms/node_modules/_@umijs_runtime@3.3.7@@umijs/runtime';
import * as umiExports from './umiExports';
import { plugin } from './plugin';

export function getRoutes() {
  const routes = [
  {
    "path": "/",
    "exact": true,
    "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__index' */'@/pages/index.tsx')})
  },
  {
    "path": "/login",
    "exact": true,
    "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__login' */'@/pages/login.tsx')})
  },
  {
    "path": "/main",
    "routes": [
      {
        "path": "/main/addConsumer",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__addConsumer' */'@/pages/main/addConsumer.tsx')})
      },
      {
        "path": "/main/addPaper",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__addPaper' */'@/pages/main/addPaper.tsx')})
      },
      {
        "path": "/main/addQuestion",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__addQuestion' */'@/pages/main/addQuestion.tsx')})
      },
      {
        "path": "/main/classifyQuestion",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__classifyQuestion' */'@/pages/main/classifyQuestion.tsx')})
      },
      {
        "path": "/main/classManager",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__classManager' */'@/pages/main/classManager.tsx')})
      },
      {
        "path": "/main/compileDetail",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__compileDetail' */'@/pages/main/compileDetail.tsx')})
      },
      {
        "path": "/main/markingList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__markingList' */'@/pages/main/markingList.tsx')})
      },
      {
        "path": "/main/paperList",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__paperList' */'@/pages/main/paperList.tsx')})
      },
      {
        "path": "/main/questionDetail",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__questionDetail' */'@/pages/main/questionDetail.tsx')})
      },
      {
        "path": "/main/roomManager",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__roomManager' */'@/pages/main/roomManager.tsx')})
      },
      {
        "path": "/main/showConsumer",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__showConsumer' */'@/pages/main/showConsumer.tsx')})
      },
      {
        "path": "/main/studentManager",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__studentManager' */'@/pages/main/studentManager.tsx')})
      },
      {
        "path": "/main/viewQuestion",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__viewQuestion' */'@/pages/main/viewQuestion.tsx')})
      },
      {
        "path": "/main/wodell",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__wodell' */'@/pages/main/wodell.tsx')})
      }
    ],
    "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main___layout' */'@/pages/main/_layout.tsx')})
  }
];

  // allow user to extend routes
  plugin.applyPlugins({
    key: 'patchRoutes',
    type: ApplyPluginsType.event,
    args: { routes },
  });

  return routes;
}
